<template>
  <div>
    {{ title }}
    <input type="file" id="fileUpload" @change="handleFileUpload" />
    <p>import JSZIP from 'jszip' 解析apk的位数</p>
    <p>import BMF from 'browser-md5-file' // 文件流转md5</p>
    <p>const AppInfoParser = require('app-info-parser') //解析apk包</p>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";

const title = ref("Hello, apk");

import TestApk from "@/js/TestApk.js";

const handleFileUpload = (e: any) => {
  const file = e.target.files[0];
  TestApk(file);
};
</script>
